<template>
  <div>
    <h3>AAAAA</h3>
    <p>{{ count }}</p>
    <button @click="$emit('update:count', count + 1)">按钮</button>
  </div>
</template>

<script>
export default {
  name: "A",
  props: ["count", "num"],
};
</script>

<style scoped></style>
